package com.situ.company.project.dao;

import java.util.List;


import com.situ.company.project.model.ProjectModel;

public interface IProjectDao {

    Integer insert(ProjectModel model);
	
	Integer deleteByCode(ProjectModel model);

	Integer delete(ProjectModel model);

	Integer updateAll(ProjectModel model);
	
	Integer updateActive(ProjectModel model);

	List<ProjectModel> selectList(ProjectModel model);
	
	ProjectModel selectModel(ProjectModel model);
	
	/**
	 * 根据条件查询得到的记录条数
	 * @param model
	 * @return
	 */
	Integer selectCount(ProjectModel model);
}
